package org.edu.modules.scheduleCommon.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.edu.modules.scheduleCommon.entity.VeBaseAppUser;
import org.edu.modules.scheduleCommon.mapper.VeBaseAppUserMapper;
import org.edu.modules.scheduleCommon.service.VeBaseAppUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class VeBaseAppUserServiceImpl extends ServiceImpl<VeBaseAppUserMapper, VeBaseAppUser> implements VeBaseAppUserService {

    @Autowired
    private VeBaseAppUserMapper appUserMapper;

    @Override
    public VeBaseAppUser getVeBaseAppUserById(String id) {
        return appUserMapper.getVeBaseAppUserById(id);
    }

    @Override
    public List<Map<String, Object>> getBaseSysRoleList(String userId) {
        return appUserMapper.getBaseSysRoleList(userId);
    }


}
